cmake_minimum_required(VERSION 3.21)
project(basic_c C)

set(CMAKE_C_STANDARD 99)

add_executable(main main.c)
add_executable(c-data-types runoob/c-data-types.c)
add_executable(c-variables runoob/c-variables.c)
add_executable(c-constants runoob/c-constants.c)
add_executable(c-storage-classes runoob/c-storage-classes.c)
add_executable(c-operators runoob/c-operators.c)
add_executable(c-decision runoob/c-decision.c)
add_executable(c-loops runoob/c-loops.c)
add_executable(c-functions runoob/c-functions.c)
add_executable(c-scope-rules runoob/c-scope-rules.c)
add_executable(c-arrays runoob/c-arrays.c)
add_executable(c-enum runoob/c-enum.c)
add_executable(c-pointers runoob/c-pointers.c)
add_executable(c-fun-pointer-callback runoob/c-fun-pointer-callback.c)
add_executable(c-strings runoob/c-strings.c)
add_executable(c-structures runoob/c-structures.c)
add_executable(c-unions runoob/c-unions.c)
add_executable(c-bit-fields runoob/c-bit-fields.c)
add_executable(c-typedefs runoob/c-typedef.c)
add_executable(c-input-output runoob/c-input-output.c)
add_executable(c-file-io runoob/c-file-io.c)
add_executable(c-preprocessors runoob/c-preprocessors.c)
add_executable(c-header-files runoob/c-header-files.c)
add_executable(c-type-casting runoob/c-type-casting.c)
add_executable(c-error-handling runoob/c-error-handling.c)
add_executable(c-recursion runoob/c-recursion.c)
add_executable(c-variable-arguments runoob/c-variable-arguments.c)
add_executable(c-memory-management runoob/c-memory-management.c)
add_executable(c-command-line-arguments runoob/c-command-line-arguments.c)
add_executable(c-sort-algorithm runoob/c-sort-algorithm.c)
add_executable(c-examples-printf-helloworld runoob/c-examples/c-examples-printf-helloworld.c)
add_executable(c-examples-printf-int runoob/c-examples/c-examples-printf-int.c)
add_executable(c-examples-printf-char runoob/c-examples/c-examples-printf-char.c)
add_executable(c-examples-printf-float runoob/c-examples/c-examples-printf-float.c)
add_executable(c-examples-printf-double runoob/c-examples/c-examples-printf-double.c)
add_executable(c-examples-add-numbers runoob/c-examples/c-examples-add-numbers.c)
add_executable(c-examples-product-numbers runoob/c-examples/c-examples-product-numbers.c)
add_executable(c-examples-ascii-value-character runoob/c-examples/c-examples-ascii-value-character.c)
add_executable(c-examples-remainder-quotient runoob/c-examples/c-examples-remainder-quotient.c)
add_executable(c-examples-int-data-compare runoob/c-examples/c-examples-int-data-compare.c)
add_executable(c-examples-sizeof-operator runoob/c-examples/c-examples-sizeof-operator.c)
add_executable(c-examples-swapping runoob/c-examples/c-examples-swapping.c)
add_executable(c-examples-even-odd runoob/c-examples/c-examples-even-odd.c)
add_executable(c-examples-for-even-odd runoob/c-examples/c-examples-for-even-odd.c)
add_executable(c-examples-vowel-consonant runoob/c-examples/c-examples-vowel-consonant.c)
add_executable(c-examples-largest-number-three runoob/c-examples/c-examples-largest-number-three.c)
add_executable(c-examples-quadratic-roots runoob/c-examples/c-examples-quadratic-roots.c)
add_executable(c-examples-leap-year runoob/c-examples/c-examples-leap-year.c)
add_executable(c-examples-negative-positive-zero runoob/c-examples/c-examples-negative-positive-zero.c)
add_executable(c-examples-alphabet runoob/c-examples/c-examples-alphabet.c)
add_executable(c-examples-sum-natural-numbers runoob/c-examples/c-examples-sum-natural-numbers.c)
add_executable(c-examples-multiplication-table runoob/c-examples/c-examples-multiplication-table.c)
add_executable(c-examples-fibonacci-series runoob/c-examples/c-examples-fibonacci-series.c)
add_executable(c-examples-hcf-gcd runoob/c-examples/c-examples-hcf-gcd.c)
add_executable(c-examples-lcm runoob/c-examples/c-examples-lcm.c)
add_executable(c-examples-factorial runoob/c-examples/c-examples-factorial.c)
add_executable(c-examples-display-alphabets runoob/c-examples/c-examples-display-alphabets.c)
add_executable(c-examples-digits-count runoob/c-examples/c-examples-digits-count.c)
add_executable(c-examples-power-number runoob/c-examples/c-examples-power-number.c)
add_executable(c-examples-palindrome-number runoob/c-examples/c-examples-palindrome-number.c)
add_executable(c-examples-prime-number runoob/c-examples/c-examples-prime-number.c)
add_executable(c-examples-check-armstrong-number runoob/c-examples/c-examples-check-armstrong-number.c)
add_executable(c-examples-factors-number runoob/c-examples/c-examples-factors-number.c)
add_executable(c-examples-pyramid-pattern runoob/c-examples/c-examples-pyramid-pattern.c)
add_executable(easy-1 leetcode/top-interview-questions-easy/array/chapter1.c)
